[INFO] cloning repository https://github.com/patrickvonplaten/rust_expectation_maximisation
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patrickvonplaten/rust_expectation_maximisation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickvonplaten%2Frust_expectation_maximisation", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickvonplaten%2Frust_expectation_maximisation'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3b53ec8fa86ff300c2ca2e5f44f6625053915378
[INFO] checking patrickvonplaten/rust_expectation_maximisation against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickvonplaten%2Frust_expectation_maximisation" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/patrickvonplaten/rust_expectation_maximisation on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/patrickvonplaten/rust_expectation_maximisation
[INFO] finished tweaking git repo https://github.com/patrickvonplaten/rust_expectation_maximisation
[INFO] tweaked toml for git repo https://github.com/patrickvonplaten/rust_expectation_maximisation written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/patrickvonplaten/rust_expectation_maximisation already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c8fd17115b72a9f60825ecc09ac7f83344d247d4a986331473c5ea72fa95cb9c
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "c8fd17115b72a9f60825ecc09ac7f83344d247d4a986331473c5ea72fa95cb9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c8fd17115b72a9f60825ecc09ac7f83344d247d4a986331473c5ea72fa95cb9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c8fd17115b72a9f60825ecc09ac7f83344d247d4a986331473c5ea72fa95cb9c", kill_on_drop: false }`
[INFO] [stdout] c8fd17115b72a9f60825ecc09ac7f83344d247d4a986331473c5ea72fa95cb9c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 52db47a3c63c0b8f081946d370384d1c1923d99c2fc4fcf35487dcca08a66fbf
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "52db47a3c63c0b8f081946d370384d1c1923d99c2fc4fcf35487dcca08a66fbf", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.74
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking itoa v0.4.6
[INFO] [stderr]     Checking csv-core v0.1.10
[INFO] [stderr]     Checking regex-automata v0.1.9
[INFO] [stderr]     Checking bstr v0.2.13
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking csv v1.1.3
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking rand_distr v0.2.2
[INFO] [stderr]     Checking old_faithful_learn v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: this file contains an unclosed delimiter
[INFO] [stdout]   --> src/main.rs:93:3
[INFO] [stdout]    |
[INFO] [stdout] 59 | impl GaussianProb {
[INFO] [stdout]    |                   - unclosed delimiter
[INFO] [stdout] ...
[INFO] [stdout] 83 |     fn compute_prob(x: Vec<f32>) -> f32 {
[INFO] [stdout]    |                                         - this delimiter might not be properly closed...
[INFO] [stdout] 84 |         let exp = x - mean
[INFO] [stdout] 85 | }
[INFO] [stdout]    | - ...as it matches this but it has different indentation
[INFO] [stdout] ...
[INFO] [stdout] 93 | }
[INFO] [stdout]    |   ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]   --> src/main.rs:84:27
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let exp = x - mean
[INFO] [stdout]    |                           ^ help: add `;` here
[INFO] [stdout] 85 | }
[INFO] [stdout]    | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this file contains an unclosed delimiter
[INFO] [stdout]   --> src/main.rs:93:3
[INFO] [stdout]    |
[INFO] [stdout] 59 | impl GaussianProb {
[INFO] [stdout]    |                   - unclosed delimiter
[INFO] [stdout] ...
[INFO] [stdout] 83 |     fn compute_prob(x: Vec<f32>) -> f32 {
[INFO] [stdout]    |                                         - this delimiter might not be properly closed...
[INFO] [stdout] 84 |         let exp = x - mean
[INFO] [stdout] 85 | }
[INFO] [stdout]    | - ...as it matches this but it has different indentation
[INFO] [stdout] ...
[INFO] [stdout] 93 | }
[INFO] [stdout]    |   ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]   --> src/main.rs:84:27
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let exp = x - mean
[INFO] [stdout]    |                           ^ help: add `;` here
[INFO] [stdout] 85 | }
[INFO] [stdout]    | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_random_vector` in this scope
[INFO] [stdout]   --> src/main.rs:63:30
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let mean: Vec<f32> = get_random_vector(dim);
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_random_vector` in this scope
[INFO] [stdout]   --> src/main.rs:64:34
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let variance: Vec<f32> = get_random_vector(dim);
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `mean` in this scope
[INFO] [stdout]   --> src/main.rs:84:23
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let exp = x - mean
[INFO] [stdout]    |                       ^^^^ a field by this name exists in `Self`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f64`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::f64;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_random_vector` in this scope
[INFO] [stdout]   --> src/main.rs:63:30
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let mean: Vec<f32> = get_random_vector(dim);
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_random_vector` in this scope
[INFO] [stdout]   --> src/main.rs:64:34
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let variance: Vec<f32> = get_random_vector(dim);
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `mean` in this scope
[INFO] [stdout]   --> src/main.rs:84:23
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let exp = x - mean
[INFO] [stdout]    |                       ^^^^ a field by this name exists in `Self`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f64`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::f64;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:79:58
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub fn calculate_probability(data: Vec<Vec<f32>>) -> Vec<f32> {
[INFO] [stdout]    |            ---------------------                         ^^^^^^^^ expected struct `Vec`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<f32>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:83:37
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn compute_prob(x: Vec<f32>) -> f32 {
[INFO] [stdout]    |        ------------                 ^^^ expected `f32`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:79:58
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub fn calculate_probability(data: Vec<Vec<f32>>) -> Vec<f32> {
[INFO] [stdout]    |            ---------------------                         ^^^^^^^^ expected struct `Vec`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<f32>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:83:37
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn compute_prob(x: Vec<f32>) -> f32 {
[INFO] [stdout]    |        ------------                 ^^^ expected `f32`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `old_faithful_learn`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "52db47a3c63c0b8f081946d370384d1c1923d99c2fc4fcf35487dcca08a66fbf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "52db47a3c63c0b8f081946d370384d1c1923d99c2fc4fcf35487dcca08a66fbf", kill_on_drop: false }`
[INFO] [stdout] 52db47a3c63c0b8f081946d370384d1c1923d99c2fc4fcf35487dcca08a66fbf
